Proj: デバッグ情報を分離して最適化をしやすくする
$ objcopy --only-keep-debug executable_file executable_file.debug
$ objcopy --strip-unneeded executable_file
$ objcopy --add-gnu-debuglink=executable_file.debug executable_file
関連
デバッグ情報
debuginfo
Makefile
扱いやすそうなMakefileテンプレート
gccの最適化の仕様
メモ
『CおよびC++のコンパイラ・オプション強化ガイド』 - The Linux Foundation